Returns the date and time a file or directory was last modified.
Syntax
FileDateLastModified("FilePath")
Arguments
| Argument | Description |
|---|---|
| FilePath | Full path to the file or directory. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory. |
Return value
| Value | Description |
|---|---|
| Value | Date and time the file or directory was last modified. |
Example
FileDateLastModified("C:\\Testing\\Output.txt")